var StudentHoodsFacebook = function() {

	function init() {
		$(document.body).removeClass('no-js').addClass('js');
        attachFormFocus();
	}
	
    function attachFormFocus(){
        if ($('.error-summary').length >0 ){
            $('.error-summary a').click(function(){
                var tar = $(this).attr('href');
                $(tar).focus();
                return false;
            });
        }
    }
	return {
		init: init
	}
}();

$(document).ready(function(){
	StudentHoodsFacebook.init();
});